// systemutils.h 的实现方法

#include "systemutils.h"

#include <sys/time.h>
#include <stdio.h>

Long currentTimeMillis() {
    struct timeval tv;
    gettimeofday(&tv, null);
    Long sec = tv.tv_sec;
    Long usec = tv.tv_usec;
    return sec * 1000 + usec / 1000;
}

void println(char *string) {
    printf("%s\n", string);
}